package com.zy.je.common.core.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zy
 */
@Data
@NoArgsConstructor
public class TreeNode<T> implements ITreeNode<T,TreeNode<T>> {
    private String id;
    private String parentId;
    private String label;
    private T data;
    private List<TreeNode<T>> children;
}
